<?php
class playerComponents extends sfComponents{
    public function executeWhoisonline(){
        $this->online_players = sfGuardUser::getOnlineUsers();
    }
    //informe le joueur des erreurs, informations, etc... le touchant de prés.
    public function executePlayer_infos(){
        $this->ktd_player = $this->getUser()->getGuardUser();
        $this->sf_user = $this->getUser();
    }
    public function executePlayer_bubble(){
        $this->ktd_player = $this->getUser()->getGuardUser();
    }
}

?>
